﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VideoStore.Business.Entities;

namespace VideoStore.Business.Components.Interfaces
{
    public interface IOrderProvider
    {
        void CreateOrder(Order pOrder);

        Order GetOrderById(int pId);

        void SubmitOrder(Order pOrder);

        void UpdateOrder(Order pOrder);

        void CancelOrder(int orderId);

        void ConfirmOrder(Boolean outcome, int orderID, Boolean reverseTransaction);
    }
}
